﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WorkerHourManager
{
    class Shift
    {
        private string _id;
        private string _start;
        private string _end;

        public Shift(string id, string start, string end)
        {
            this._id = id;
            this._start = start;
            this._end = end;
        }
        public string id
        {
            get { return this._id; }
            set { this._id = value; }
        }
        public string Start
        {
            get { return this._start; }
            set { this._start = value; }
        }

        public string End
        {
            get { return this._end; }
            set { this._end = value; }
        }

        public string toString()
        {
            return "start: " + Start + ", end: " + End;
        }

        public void print()
        {
            Console.WriteLine(ToString());
        }
    }
}